<?php
use Phalcon\Mvc\View;
class IndexController extends ControllerBase
{
    public function initialize()
    {
        $this->tag->setTitle(' Welcome');
        parent::initialize();
    }

	public function indexAction()
	{
        if (!$this->request->isPost()) {
            //$this->flash->notice('IndexController/index信息');
        }
        //获取session中用户信息
        //$auth = $this->session->get('auth');

        //根据session id 获取用户
        //$user = Ausers::findFirst($auth['id']);
        //if ($user->id == false) {
           return $this->forward('businesssystems/search');
        //}
	}

}
